package cn.lili.modules.share.service;

import cn.lili.common.vo.ResultMessage;
import com.pojos.UserShareBindRegister;

public interface ShareService {

    /**
     * 获取分享二维码
     * @return
     */
    ResultMessage<Object> getShareQrCode();

    /**
     * 分享绑定操作记录
     * @return
     */
    ResultMessage<Object> apiUserLogin(String sessionId, String superior);

    /**
     * 分享注册并绑定上级
     * @param userShare
     * @return
     */
    ResultMessage<Object> shareRegisterAndBindParent(UserShareBindRegister userShare);

    /**
     * 分享注册账号设置密码
     * @param userShare
     * @return
     */
    ResultMessage<Object> shareRegisterSetPassword(UserShareBindRegister userShare, String sessionId);
}
